package com.huzz.util.desin.abstractfactory;

import com.huzz.util.desin.abstractfactory.product.CoffeeBean;
import com.huzz.util.desin.abstractfactory.product.DenseMilkFoam;
import com.huzz.util.desin.abstractfactory.product.EspressoCoffeeBean;
import com.huzz.util.desin.abstractfactory.product.MilkFoam;

/**
 * @Name 名称
 * @Description 描述
 * @Author 童年的纸飞机
 * @Since 2023-07-2023/7/18 16:58
 */
public class EspressoMachineFactory implements CoffeeFactory{

    @Override
    public CoffeeBean createCoffeeBean() {
        return new EspressoCoffeeBean();
    }

    @Override
    public MilkFoam createMilkFoam() {
        return new DenseMilkFoam();
    }
}
